package com.nengchuan.eic.nceconomy.dao;

import com.nengchuan.eic.nceconomy.entity.po.ExcelSheet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nengchuan.eic.nceconomy.entity.vo.SheetVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author luoping
 * @since 2020-04-23
 */
@Repository
public interface ExcelSheetMapper extends BaseMapper<ExcelSheet> {

    List<SheetVO> selectSheetList(@Param("excelId") String excelId);

    int logicDeleteByExcelIdIn(@Param("ids") List<Long> ids,@Param("userId")Long userId,@Param("userName")String userName,@Param("time")Long time);

    int insertList(@Param("data") List<ExcelSheet> excelSheets);
}
